If it is a cuterebra bot, the kitties usually get it by digging around rodent burrows. The flies lay their eggs in these areas and the larvae become attached and eventually burrow into the skin of mice, squirrels, etc. It is generally not painful for rodents, but dogs/cats are not their normal hosts and I'm sure doesn't feel so good.