You see, this question is very simple, but it actually implies a numerology problem.
1. Everyone is a magnetic field, and mutual attraction or repulsion is objective. I just don't know, it's all based on a feeling.
2. It is not surprising that the boss or leader rejects himself, nor is it your invention. It will happen in real life and work. Therefore, we often say that if a boss wants to have good employees and a unit wants to have a good team, the key is to unite as one, otherwise it will have an impact. What you feel is not a mistake, but a phenomenon.
After this happens, we should deal with it according to our personal situation, and don't get hot-headed. The way to deal with it is to solve it with the help of others, or to explain yourself and express yourself in different environments through one thing and one job. Of course, first of all, we should realize our inner feelings and focus on the overall situation.
You don't like the boss because of yourself. You should learn to adjust yourself.