That might be why it was added to the curriculum at first, but that’s certainly not why it stayed, nor why we did it at my school. It’s a pretty fun activity too, so a good use of that PE time.
I had horrible eyesight and was shockingly inept at all sportball games, even compared to other hopeless nerds, so I found it slightly less awful than the stuff we usually did.