Viral gastroenteritis is caused by viruses, such as rotavirus and norovirus, and can cause abdominal pain and diarrhea.