The correct option is B Case (B)
The boxes are kept on a smooth table, i.e., the friction is negligible. In the case (A), the applied force is balanced by the normal force, hence, there will be no motion in the case (A).
In case (B), since there is no force acting in the horizontal direction other than the applied force. This will lead to movement of the box along the direction of applied force.