theThe key to understanding a replicator is that it takes stock material and reshapes it according to a stored pattern. It cannot make that material from scratch.
Similarly a transporter simply moves material around, the material still exists and has to be dealt with in one way or another. If I transported a lit piece of tntTNT into space, it would explode inside the pattern buffer or in space, it would not simply disappear.
However, if I transported omega into space, it would just hang around there and still be a threat. It had to be neutralized first and so it had to be transported aboard.