Aurora boreialis?? Just kidding...
If it were a defect, take a pic inside preferable we’ll lit plain white walls and take a shot. I’d think if it were a hardware defect you’ll see that type of distortion in any scenario.
If you don’t it’s software or maybe with that camera bump being so huge... maybe light hitting camera bump on from odd angles causing light refraction to cause sensor read issues??