Framework 16 fan spin up during gaming

Hi all

I have a Framework 16 and mostly only play CS2 and other light games. I noticed that when I play WHILE the laptop is connected to charge, the fans spin up.

Though when I disconnect from the AC during gaming, the fans don't spin up at all.

Is there a way to keep the fans from spinning up during gaming? Or is this by design?