In the centre of momentum frame, $2m$ has a speed of $u/3$ where the centre of mass itself moves in the same direction with a speed $2u/3$. As this is the natural length of the spring, this is the maximum speed block A can have. As this can't be greater than centre of mass's speed, block A will always be in motion. But the answer as per my book says, A's velocity "may be zero at certain instants of time".