STEM salaries for undergrads from USA vs. grad degree from USA with international undergrad degree

That is incorrect. Both phrases are used interchangeably. The term “computer programmer” simply morphed into the term “software engineer” over time - I suppose because the latter sounds more impressive. Kind of like how “stewardess” morphed into “flight attendant” or how “secretary” became “administrative assistant”.