Dropped trident items rotate around an external axis / Bed items rotate around a non-centered axis
Note how the shadow is correctly placed around the axis the item rotates around.
This has been an issue for beds since 1.12, but I wasn't able to find a prior ticket on it.