My job contained heavy lifting so I informed my boss I was pregnant early. She just stopped giving me hours

I informed my boss I was pregnant early into my pregnancy due to heavy lifting in the job. I asked if I could possibly do what needs to be done in the area rather than carrying heavy objects to then do the job somewhere else, my boss point blank said no. there are many other aspects of the job so she could have just said well don’t do the heavy lifting anymore just carry on with everything else. Instead I had a text message the next morning (while I was getting my little boy ready for school and me ready for work) saying there just isn’t enough hours for me anymore but good luck. I’m angry that her having 4 children herself would treat me like that, not even a months notice, nothing! Just not to come back, I didn’t even waste my time replying to her.