Not to poke too much fun but a non-STEM background could mean significant coursework in history, political science / theory, philosophy, and sociology or anthropology (which although sciences are usually mor colloquially implied by STEM).
So maybe non-STEM folks tend to lean left because they are better educated on the issues ;)
I’m a bit tongue-in cheek here, but, couldn’t resist :)