Hello from JustAnswer.
If the symptoms develop quickly, it is more likely that it was cramping related to the large hiatal hernia. If there was a delay of onset of symptoms then there would be more concern that it was related to gluten intolerance, assuming that you ate something with gluten.
It is also possible that it was unrelated to either problem, as some people with no pre-existing medical conditions may develop these symptoms , which can happen from viral infections, various food poisonings, gastritis, or gallbladder disease.
All of your description is written in the past tense, so if that means that the symptoms have improved spontaneously, then there is no need to see a doctor, regardless of the underlying cause. It would only be necessary to be seen if the symptoms are continuing. If the symptoms are severe, then it would be appropriate to be seen urgently, but if the pain is less severe, it would be fine to give it more time before being seen.
If I can provide any clarification, please let me know.