Height Map

Unity and unreal engine don’t import heightmap the same way and why?

When I open the height.raw file in the game’s own tool, there is no problem, and when I import it into Unity, the same problem does not occur, but things do not work well in the unreal engine.