I think that's the result of Precision Boost 2.0 and XFR.
It auto overclocks if the temperature allows it. Works similar to Nvidia's GPU boost where it will automatically overclock as much as possible.
But I'm not sure if XFR is actually enabled on the 2200G, as it was previously only available on Ryzen 5 and above.