The lidar works. The robot knows where it is. And yet the walls on the map are doubled, smeared, and rotated away from where they should be.
Nothing is wrong with the data: a point has been put in the wrong frame. You will fix the chain, learn to read frame bugs from their symptoms, and publish the transform that keeps odometry smooth while localization corrects it.