Are changing rotors necessary when replacing pads?

Kind of a dumb question because I've always only replaced rotors when they have issues themselves.

However someone elsewhere on reddit claimed to be a brake specialist and claimed replacing pads without replacing or refinishing rotors to be dangerous and would result in worse braking than before the pad change.

So you all are mechanics, do you believe changing out rotors is necessary when doing a pad change?