Up all night

My daughter has been super cranky. Wouldn’t eat. I figured it was gas. It seems to hurt her when she burps. But she was literally up every hour last night is this normal? Or could it be something else?