It sounds like the normal wash cycle has interrupted to heat the water for washing. Usually, behind the front panel of the door there is a Tech Sheet that shows the timing cycle for your model.
This is the simple answer unless there is something else going on that you haven't described.