Dynamics of interfaces near a wall during phase separation