My screen did the same thing. I only noticed because the screen was flickering. Screen on one end was bulging and warm. I did not want to have screen warp, so I went online to see how to separate screen from computer. The info if found was good, but the screen by this time was very warm and when trying to break the glued seal it cracked the plastic. The center of the screen there is something that looks liking packing that had bulged out keeping the center of the screen from lying flat. I assume this is part of the battery and the failing battery is the problem.
I unplugged the screen and tried to clear the shards of plastic. Wondering if the computer still works plugged it back in. Everything works fine except the screen is not flat and camera is blocked.
My surface Pro 4 is 2016 and I wonder if fixing this is financially practical. I am assuming the issue was a battery problem which is odd because I retired shortly after purchasing this and it is attached to power 99% of time. I have found the screen is available to purchase that is not a crazy price. I am assuming I should probably replace the battery as well