Strange. What border crossing? (State?) Going through either way is usually a crapshoot.
To make it easier I make sure I remove sunglasses, look the agent in the eye, open all windows, have passports ready, know they will ask for the reason for the visit so be ready with an answer.
We were entering through Michigan.