Weird issue

I’ve been having this weird issue for a while now, and I’m totally stumped. I’ve asked every tech expert I know and spent hours searching online, but no one seems to have heard of it. I didn’t even know what to search for because it makes no sense.

Whenever this strange cut-off happens, the mic indicator at the top flashes for a split second, and it usually cuts off the sound, but it can also cause this extremely annoying beeping noise as seen in the video. Can anyone help me figure out what’s going on?

Ignore the very messed up playing lmao, its just all improv i made on the spot for this video (minus the beginning, just smth I’m practicing).