Cloudflare breaks my website

After I’ve installed litespeed plugin on my wordpress site, my contact forms on my website started to break.

i’ve tried to fix it in the litespeed plugin, it didn’t work. But then I noticed that when i purge all cache on Cloudflare, everything comes back to normal.

I’ve disabled all the Cloudflare optimization, and my contact forms still break.

Then I deactivated litespeed plugin completely, and it worked. And now I can’t wrap my head around it. Is it a problem with litespeed or Cloudflare? Or they just can’t work together?

Any advice?