Question: what direction is static friction?
Answer: The direction of static friction is opposite to the velocity with respect to the body applying friction. The body applying friction is the ground. With respect to the ground, the block moves right. So the direction of frictional force on the block must be towards the left as per the statement.