This would not have been a sudden decision for Petronas.  Maybe they kept quiet about it until now as a favour to the Liberals. If they had announced it before or during the election, the Liberals may have lost more seats, and if they had built up a relationship with them. Announcing it now gives the Liberals a talking point for the next election.