They've always (in my life, which is largely post 9/11) done that to US citizens too. Going into Canada it was "where are you going to? the beach, eh? have a nice day!", coming back seemed to be performed under the suspicion that our passports were fake and our car was made out of drugs. Despite doing nothing wrong, we were always afraid of getting in trouble because a border agent felt like it.
I handed the border agent my US passport and the conversation went like this
"why are you entering the country?"
"I live here"
"do you have legal status in the US?"
"I'm a citizen, you're holding my passport"
"have you ever overstayed a visa in the US in the past?"
"I was born here, so no"
"do you intend to do any work while you're in the US?"
"yes, I'm a US citizen and I have a job"
I didn't get pulled off to the side or anything, it was just standard questioning at entry processing when flying in, but it was just bizarre
the border agent kept looking me up and down suspiciously like I was hiding something, but he had my passport the whole time
even when I got questioned on my way to Canada (I would've stopped me too), they were much nicer about the whole process, it's an air of "we're just double checking cuz making a mistake here would be real bad, but as long as everything's legit, no worries, I hope you have a nice stay in Canada"
entering the US the vibe is "you're a violent criminal and it's my job to ask you questions until you slip up and admit that fact, the US is magnanimous for allowing you to touch our great country's land with your disgusting feet, and you should remember that every day you're here or we'll detain you so you won't forget again"
I'm a little surprised you've only had positive experiences.
I was talking about the experiences within the country. The border is horrendous, exactly like Russia. Same vibe of "we hate you, kneel before stepping into my country"
For a foreigner, even one that knows the US pretty well, there is a background feeling of "if it goes bad, it will go vey bad". This is mostly because of movies and news like this article but the everyday life was more or less friction free. I did not get into anything serious, though.
Spending money in a country that obviously is not happy to see me is not likely to happen. We went for the rest of the world for now.
In 2017, Pew estimated that the EU had peaked around 5 million illegal immigrants: https://www.pewresearch.org/global/2019/11/13/europes-unauth....
IN 2018, a Yale study estimated the U.S. had around 22 million illegal immigrants: https://insights.som.yale.edu/insights/yale-study-finds-twic....
France during the same period was estimated to have 300-400k illegal immigrants: https://www.pewresearch.org/social-trends/2019/11/13/four-co....
We have 10 times as many illegal immigrants per capita as France does.
I never had any problems (outside the horrible behaviour of border officers who show you that you are not welcome). I was stopped once by a policeman when I did an illegal car maneuver (which is tolerated in France), and when he realized I was a tourist with family, he just said, "Be careful, have a nice trip."
Today I am seriously considering never going to the US anymore because it looks like it is not a good destination anymore. I may be wrong though, I hope.