Bolsonaro's policy choices regarding the Amazon likely meaningfully contributed to this issue by allowing "ideal conditions" to accumulate in the years that preceded. If anything, this helps confirm it rather than absolve him.
Naturally other issues like El Niño and factors outside of Brazil also play a role, but it stands to reason this would not have been as tragic had he not been elected president.