Same stuff happens if you drive around the southern border with Mexico. I’ve been stopped and asked the same stuff driving 100 miles inside of TX.
Discussion
CBP has jurisdiction within 200 miles of any border or port, which puts most Americans (and almost all Canadians) under Customs and Border Patrol authority