Sure there are agents who do have an attitude and seeming go out of their way harass people crossing back into the US as JJ pointed out.
But for the most part they are courteous to the thousands of people they see every day.
When I cross, I employ the same attitude with all agents, I start...