Been a long time since I used Raspbian, and I remember why I hate it. WiFi randomly disconnects, and searching for the problem reveals many people have the same issue. The “fix” is a cron job that restarts the wlan0 interface every 5 minutes....
And lots of support messages say things like “that’s to be expected, WiFi isn’t a reliable tech” like… have you used literally any other WiFi device in the past 10 years? It’s not as unreliable as this particular thing is, y’all have a bug