Diagnosis
The seal has been compromised. This usually happens if the camera was mounted without the magnetic base being fully clicked and twisted into the locked position on the mount, or if the rubber seal on the USB-C port door isn't seated perfectly.
How to Fix It
Bring the camera inside immediately and power it off. Let it dry out completely in a warm, dry place (like near a vent) for at least 24-48 hours. Do not use rice or a hairdryer. Once dry, before powering back on, inspect the USB-C port door. Make sure it's closed firmly and the little rubber gasket is clean and not pinched. Then, check the connection to the magnetic mount—it should click and require a firm twist to lock.
If That Didn't Work
If the fogging returns after a dry-out, the internal desiccant packet is saturated and the seal is permanently weak. Your only real fix is a replacement from Wyze if under warranty, as attempting to open the unit yourself will void it and likely break the seal further.
Heads Up
Mounting it in direct, all-day sun can also cause this. The heat cycle expands/contracts the plastic and can break the seal over time. A slightly shaded spot is better for longevity than a spot that bakes.