I need advice

Im pretty strict where i have to be with my son. For example: no throwing, no hitting, no biting, dont scream talk to me. Hes really really good. He is 2 in a few months

When my son spends the day with my mom he starts to act out. I noticed my mom lets him do whatever he wants with her. He throws everything and kicks and hits. When he comes home hell act out and throw tantrums for a day or two.

Ive talked to my mom but she says ill be harder on him or hes just playing. Im not sure what to do. I just need advice