There are ants that are capable of killing a frog if it gets close to their nest or is perceived as a threat. As far as I know, only specialized frogs will favor eating termites and ants. The rest will ignore them for tastier prey, since formic acid probably tastes no better than it smells .