What would cause an elevated heartbeat for prolonged time in a baby during labor?

In utero infection. Chorioamnionitis (intraamniotic infection) can be the etiology. Alternative causes: maternal fever not from infection but from epidural, drug effects (e.g. Terbutaline), hyperthyroidism.