2yr old biting

Sh

Guys i really need some advise. I have a 1yr old boy.. I quit my job around 3 months ago to spend more time with him and I also take care of my niece and nephew. My niece is 2 yrs old and my nephew is also 1 yr old. my 2yr old niece is such a sweet girl and very smart! she can talk very well and communicates really good too. She recently started biting my 1yr old a lot!! once, she bit him 5 times in his both of his arms, I feel horrible because they are under my care.! and the crazy thing is she only bites my son. (when he grabs her toys or once; I was siting and she was hanging in my back, when my son tried to hug me she bit his hand😓) Today she bit him again in his back when he wanted to get in her electric car with her... and it's really bad !😢 Every time I tell her that "biting is not acceptable" and I put her in time out. I let her mom (my sister)know and she talked with her the first time, and today I let her know she bit again and she said she has not had any biting problems with her at all

and she does not understand why. does anyone know an effective way to help toddlers stop biting?! please and thank you!