A hernia can potentially obstruct the gastrointestinal tract if a portion of the intestine or stomach pushes through a weakness in the abdominal wall. This can cause symptoms such as nausea, vomiting, and abdominal pain.