This is intended behavior. This is because when you Simulate Physics on a component, it detaches from its parent and the simulation then takes place in world space. So when you’re returning the relative location of a component that is simulating physics, you are returning its location relative to the world.
Thank’s for your answer now I understand what was going on.
It’s a bit annoying if I want to use the “Physics constraint” component and calculate the relative location.