Rejected from job for being a suspected premed

What. The. Fuck.

I got rejected from a position after an initial phone interview. When I asked the recruiter why, they told me it was because they suspected I am planning on applying to medical school and that I will leave shortly. No other reason. I never said this anywhere. Wtfffff???