3D to 2D

When I switched from 3D to 2D and began to sketch this error message appeared. But I fixed this by closing and opening the SW then this message disappeared. I wish to know the reason for problem.  

SolidworksSketching