I’m going to take a guess and say that your little girl is actually a little boy. At 3 months and with the onion smell, it’s very likely that your bun is becoming sexually mature. Some male rabbits are known for their onion-y smelling markings. Male and female genitalia in rabbits are also very similar!
This is a good article on sexing rabbits. WARNING: Does include large pictures of rabbit genitals. That’s probably obvious, but I thought I should add in a warning.
http://www.rabbitnetwork.org/articles/sexing.shtml
I also suggest you look into some of links about what veggies to feed your rabbits. Carrots are very high in sugar and should only be fed in small amounts as an occasional treat. Basil is a good herb to feed, but one leaf every other day is not enough veggies. They should be be getting a minimum of 2 cups of veggies (predominately leafy greens) for every 6 ibs. You’d want to introduce the new veg slowly though.
http://rabbit.org/faq-diet/
http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
https://binkybunny.com/BUNNYINFO/VeggieList/tabid/144/Default.aspx