True... if you think about what you did:
1. Fast acceleration - presuming you're at 6400 rpm, you're near redline, and likely got there pretty quickly.

Physically, that throws a lot of weight onto the rear tires (where it should be for good traction in a RWD car).
2. Upshifting - you've now thrown the weight OFF of the back tires as there's less acceleration. Not as bad as braking, but you now don't have the same force pushing down on the rear tires.
3. Turning the wheel - you've also now got a bit MORE grip on the fronts since you've upshifted and shifted the weight off the rear tires.
Hitting the accelerator again in this state is a recipe for disaster. Not only will the rear end break loose easier when you hit the throttle, the additional grip the fronts have will send you spinning easier, since they're not pointed in a straight line.
That's my estimation, anyway. Those with more track experience, feel free to correct me!