This seems like a fairly strong gesture IMO. Normally think of ambassador recalls when war is imminent, although know it can also be used to make a strong diplomatic statement. Guessing France wants to make it clear how pissed they are about the situation.
As several people have suggested already, the US should just buy these subs from France and give them to Taiwan or another friendly nation in the area. Win win for everyone.