Will it look weird if I say that I am interested in sociology, but my teacher says that I am interested in biology in my letters of recommendation?

People have multiple interests and in theory, you don’t know what your teacher wrote about. You don’t know she mentioned it.

But if so, so what. They’re not looking for what you’re interested in.

They’re interested in learning more about you and what you add to the community.

So relax - this happens regularly and you have zero to be concerned with.