Why did I have to pay gas fees for a failed transaction?

Follow