Does Transferring Schools look bad?

I am currently a sophomore in a small private university, I’m not happy with my school personally and a little bit academically, so I am thinking about transferring to a larger public state school or a bigger, more well known private school for my last two years. What would medical schools see this as? Would it look bad?

It’s not bad per-se but just be able to explain why you did it should it come up in an interview.