This was a necessary step in proving Bitcoin had any value as a trade commodity. If it could not be used to trade for other goods it was worthless. This man probably could have also bought 10,000 BTC for $30 but the pizza was more valuable at that moment and he was proving that BTC could be exchanged.