The display entity rotation does not match the player rotation all the time, it may sometimes offset by a small amount
Steps to reproduce:
Run
/summon text_display
Make sure your playe has a random yaw, like 178, values such as 0, 45, 90 works correctly
Run
/execute run tp @e[type=minecraft:text_display] ~ ~1.6200000047683716 ~ ~ ~
Press F5 twice
Press F3 + B to show hitboxes
Notice how a small blue line is visible, that is the display entity rotation, the player one isn't visible due to being facing the camera
The teleport command uses a calculated player eye height, the interaction entity was also tested, all tests were done with pitch set to 0
Cannot reproduce this. Text displays, and block displays both correctly teleported to me, and had the correct rotation/yaw/pitch. Please attach a video of you reproducing the issue.