Try liquid fence around the garden! Also try some netting. Home Depot or Lowes for the spray. Works great! Spray every evening or every other. Just don't spray on any food. Good luck!
We have some great, easy and natural scientific ways to deter rabbits and other animals: https://chemistrycachet.com/how-to-deter-animals-from-flower-beds/
We have used cayenne pepper oil spray on the veggies in the garden or put Irish spring shavings on the ground all around, use generously. A friend of mine does this too but she also puts a small pan off to the side of the yard with kitchen produce scraps to give the rabbits some treats. The same with squirrels only sunflower seeds. They have a snack and do not want to bother with the garden any more.
Moth balls but I installed bird netting I got a Home Depot $6.00
Human hair inside old stockings placed hanging around garden. Get hair from salons. “Smell” of humans nearby will keep them away!