At the moment of it is nascences, the universe was already 10-43 seconds old and this time is sufficient for gravity to separate from the other three forms of energy, so allowing a hyperinflation in which energy can be created with reduced entropy so obeying the Laws of Thermodynamics.