A known cause of stress fractures is a sudden and unfamiliar increase in physical activity that results in the bones being unable to keep up with the rest of the body. This can result in a fracture which can be more noticeable when you are lying down, thus leading to an increase in pain at night.