>>19253739Reminder that the original plan to defeat Fire Lord Sozin was to enter the avatar state, however Aang gave up on it because that would put his companions in danger as well.
Due to unforeseen consequences they were separated, and being sent unconscious, as already established in the past, sent the protagonist into the avatar state as originally planned.
This is not an example of deus ex machina.