If you hit the jackpot at the Marina Bay Sands casino recently, you'd likely find yourself being congratulated on the casino's website.

A certain Mr Chong was congratulated for having won a total of $215,032 at a slot machine on Jan 1.

Why is 'on' used before 'congratulated' in the first sentence, but 'for' is used after the word in the second sentence?