Timing is everything and running out of gas or whatever they did in Iranian waters held no consequences for ten sailors and Washington has apologized. If it weren't for the cash out from the nuclear deal, I am not sure Tehran would have let them go.
But there we are, pleading for their release on the night of the SOTU.
Glad they are safe, but....
US apologises for Iran naval incursion - Revolutionary Guards - BBC News