What is the cause of subxiphoid pain in children?

Subxiphoid pain in children is a common symptom and can be caused by a variety of reasons.
If the pain is associated with jaundice, it may be a congenital common bile duct cyst.
severe subxiphoid pain, which may be biliary ascariasis.
pain with vomiting, possibly gastric torsion
pain with blood vomiting or blood in the stool, possibly acute erosive gastritis.