Original: After turning to the northwest, it looped southeastward and gradually became separated from the surface frontal system, due to the deepening of the upper-level trough over the system.
Simplified: After turning towards the northwest, the weather system looped southeastward.