4 months is very young for a girl rabbit to be spayed, so I’m guessing she was spayed just recently. A girl rabbit often becomes aggressive and territorial during the first weeks following her spay. Sometimes it lasts even longer. It has to do with the body and brain adjusting to the new hormone-situation. Territoriality is when the rabbit guards her home and is very protective of it. It’s also called cage aggression. Some buns stays cage aggressive all their lives. Girl rabbits are more territorial than boys. For now, it’s best if you don’t hang out with her in her cage. Hang out with her during floor time instead. That will make her way less defensive. Also don’t clean her cage while she’s in it.
Wear old clothes that you don’t care about when you hang out with her. Digging and biting at clothes isn’t always aggression -bunnies often do it when they are getting to know a person. It can also be almost like a form of grooming. My bunny digs and bites when he sits in my mother’s lap – it’s he himself who jumps up into her lap so he clearly likes her, but she has to have a fleece blanket on her when she comes to visit because otherwise she’ll get holes in her clothes.
You can gently push her away when she starts the digging/biting. Just gently. Wear gloves if you have to. The point is to show the bun that the behavior isn’t appreciated and that she’ll not gain anything from engaging in it. Give her a fleece blanket that she can dig in near you if she likes. Not a nice blanket of course, buy the cheapest you can find, because she will make holes in it.