Did your children start acting out when you got pregnant ?

I have a toddler and he’s a really good kid and loves mommy! Lately he has been crying alot! Not wanting to be with me or near me. Which makes me sad because hes always been so attached to me and now he wants to be with his grandparents but then wants me but as soon as he sees me he just starts crying and changes his mind😅 I haven’t been feeling well and I’m barely getting sleep because he has been crying throughout the night. He wakes up so many times and just cries and I do everything that I can and nothing seems to work. His dad works night shift 😪 and during the day he is his normal self and is such a angel!