Foxes are natural predators of rabbits and may hunt them when given the chance. They are most active at dawn and dusk, but they can also bother rabbits during the day, especially if hungry or if young rabbits are present.
Foxes are wild animals and can be unpredictable. If you see a fox in your yard, give it space and avoid approaching it.