<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, my baby has been having sharp abdominal pain and he is spitting up frequently. What could be causing this?  <response>: Based on the symptoms you have described, it sounds like your baby may have pyloric stenosis. 