Discrimination at work due to pregnancy?

Ba

I am just wondering how many of you have noticed a change in your employers behavior since revealing your pregnancy? I ask bc I am frustrated at the moment. I have two job roles where I work at. I had no experience in one of the positions when I first started, but have been doing it well for 1.5 years. We work on projects that can last a couple months to a year. Since telling my boss I was pregnant, he has been trying to give all my projects to another coworker and have me as back up. Im not due for another 5 months. Additionally, he has been saying one of my roles would be easy to hire for. Am I not crazy to think he is doing his too far in advance? I feel discrimanated against. I feel like my job is going to be redundant when I try to come back from leave. Anybody else feel this way?