What's the "both" you're talking about? A tie rod only has one ball/socket.
A new one should be tight and hard to swivel, but swivel-able.
A used one should be tight and free to swivel.
A junk one will have slop in it.
View attachment 1716240596
I think you're seeing the bushing inside the housing, between the ball and the housing end. When they're made, the housing is 'crimped' around the ball and bushing. It's not common for the bushing to move too, but not impossible.
If you hold the housing, the stud should not be able to be pulled up or down.