Speechify interview question

Why does React rerender ?