Not a bug, but a feature: the gap between the display and the body of the Pixel 5 is part of the design, Google said
When shoppers started receiving Pixel 5 smartphones in mid-October, some noticed the gap between the display and the body of the device. This raised questions, as the manufacturer stated that the smartphone is IP68 waterproof. Google examined user feedback and issued a statement saying that the gap is a “normal part of construction” that does not affect the level of waterproofing.