In the event of a cargo fire, opening trailer doors may cause a fire to expand because:

In the event of a cargo fire, you should not open the trailer doors. Doing this could cause the fire to flare up by giving it access to more oxygen.
DMV Writen Test