Can someone explain to me why pjs need to be tight fitting to be more fire safe? Why pjs specifically and not other clothes?

What about flame-retardant chemicals? Are they safe??