WiFi is always good to rule out. Have you done a phone hotspot test to be sure?
Generally yellow lights indicate temperature issues and purple lights indicate connection issues but, like you seem to be implying, WiFi can cause all kinds of weirdness.
I’d troubleshoot temperature issues and WiFi issues.
Check out #20 for overheating tips:
And the help pages have extensive WiFi troubleshooting guides.