Pferd + Apfel. Probably with reference to the supposed similarity to rotten apples.
Pferdeapfel m (strong, genitive Pferdeapfels, plural Pferdeäpfel)