My grandfather was an aerospace engineer and a lifelong New Deal Democrat. He grew up poor in the depression, worked in the tobacco fields when he was about 13, put himself through college by selling blood, etc. He understood that government had helped him and a lot of people of his generation to become middle class.
On the other hand I know a lot of engineers who grew up under Soviet communism and are super right-wing. They had a very bad experience with government persecution and they tend to view all government activity through the lens of restricting their rights.