I’m pregnant and my three year old has a love/hate towards me ?!

Ch

So I’m 34 weeks pregnant which means I’m getting closer and closer to my due date but lately my three year old son is starting to fight me and ignore me about everything!!! Getting into more trouble, screaming on the top of his lungs for every little thing and just becoming a really angry little person, in the beginning he was so clingy and I didn’t mind I loved it plus he was always well behaved, every one tells me that he could sense that the baby is coming so he’s acting out , or that he’s getting influenced at school and just picking up bad habits from other kids or it’s his age ?, I honestly don’t know what to do at this point?! Has anyone had this problem with there kids when pregnant????