The cats were probably there trying to catch the mice that were eating the insulation off the wires.
Cats crawl into engine compartments in the fall and winter to get warm.
Then, depending on their location, they rapidly accelerate to 1,500 - 2,000 RPM upon engine re-start.
Great fun.