A resurgence in the latter half of the season, powered by a series of impactful upgrades, brought Ferrari back into contention.