Why was bmx invented?

Because it looked like fun.