Here’s the reason behind this week’s stock turnaround