airpods function on the 2.4GHz frequency, and so does your net im assuming
destructive interference is the most probable answer for me, get a 5g net or use wired
are you playing on wifi or ethernet? if wifi that means whatever wifi card your laptop/desktop using is probably too weak or low end to handle a fast bluetooth bandwith and wifi at the same time