Yeah I've wondered about just really nasty ass stinky fresh manure around the base of each tree. That would attract flies.
Probably a flush of nitrogen at exactly the wrong time tho. Most plants respond to that by pushing excess green growth instead of flowering and fruit set.
Solid cow manure is really low in nitrogen, though, and maybe 90% is organic N which is released slowly.
Maybe you meant fresher manure.