They are needed to lower the power delivery system's impedance. At high frequencies power supplies present a non negligible series impedance mainly due to the inductance of the power nets. Take a look at the "Rail collapse in Power Integrity" section of the following article that can help you understand the idea :