When an inflated tyre bursts, then why does the escaping air get cooled?

Air expands on sudden bursting of tyre which is an adiabatic process. Air does work against atmosphere at the cost of its own internal energy