Hello,
My mom is going through Exactly the same thing. The food getting stuck, the foamlike substance coming up. So far the doctor thinks it might be from...now an esophagus problem. Maybe it was damaged or something. If you would like to compare notes let me know.
Thanks, Jenn