usually implies some type of psychological problem, that needs to be addressed in order to stop the vomiting.
These types of problems can be harder to treat than a stomach problem. Real vomiting usually comes when you eat something bad, or your system can't temporarily tolerate food. When you are better, the vomiting naturally stops. Intentional can be harder to control.