Hi,
Sounds liker a case of random bad luck really. You win some and lose some man. I know what you mean though, a similar thing happened to me where I got attacked doing a treasure run and sunk. I happened to respawn not too far from them. So I enacted revenge and used that distance to my advantage where they must have been very low on supplies after a long engagement.
Other times, I have respawned the other side of the map to the emissary ship that just sank me so depending on how I feel and the distance, I may not bother going for them. ¯_(ツ)_/¯
Cheers