As a USC, I was flagged at the very same crossing for secondary screening, and also had a dog, so I feel your pain. As others have said, secondary screening is random, and anyone can be pulled into secondary. Don't worry about it and enjoy your trip.