Maybe he just wanted to have fun, a bit of a break from the MCU.
I have a feeling that if Paramount had decided to pay him according to his original contract, he would have been there regardless of the quality of script. Lots of people find reasons for not wanting to do something, after the offer has already been pulled.