'The categories are based on the amount of extinguishing agent that the fire services can apply, and how fast they can apply it. Obviously larger aircraft = more fuel = bigger fire = more agent needed.
Here's a table:
Aerodrome rescue and firefighting