Because their horns don’t work.
Explanation: The joke plays on the double meaning of “horns.” Cows wear bells for identification and to keep track of them. The punchline humorously suggests that their horns—used for defense—are somehow ineffective, leading to the need for bells.