That actually seems more equitable to me than what happens at some other schools, where everyone pays the same credit-hour rate no matter what course they take.
Teaching STEM courses, intuitively, seems like it should cost more. The pool of professors and TAs is smaller, a lot of courses call for lab equipment and the maintaining of labs and so on. And students have higher earning potential upon graduation and should, in theory, be willing to pay more.
Many humanities courses in contrast (literature, philosophy, sociology, political science, languages) can be taught quite cheaply, with labor being the only major expense. It seems unfair that humanities degrees (which are also worth less than STEM degrees on the job market) should be anywhere near as expensive as STEM degrees.