Every time the Quest 2 is restarted it seems to forget the network to which it was connected. Based on a Reddit post I saw from someone with the same problem it seems it might be an issue with WiFi 6 networks with WPA3/WPA2 enabled which matches my configuration. I have an Asus RT-AX88U router.
I'd love to add a link to the Reddit post but the forum software says I haven't been a member long enough.