Well this is wildly off topic, so I’ll answer your question then take it no further.
Disinfectants like chlorine are highly reactive and basically obliterate the microbial cells reacting with all the cellular apparatus: Denaturing proteins, the cell wall, even the DNA. A good analogy would be it’s like a bomb. Get in the blast and it will blow you apart and there’s not a lot you can do about it.
Antibiotics are more like snipers, they pick their targets. They have to kill the bugs but not the patient, so they must do so in a specific way which affects only the bacteria. For example, penicillin blocks one of the enzymes responsible for constructing the bacterial cell wall from doing its job. If the cell wall can’t be built the cell bursts and dies. Because bacterial cell walls are different to ours it doesn’t affect us. But because penicillin is so specific in what it does the bacteria can evolve ways to counteract it and become resistant. For example, the target enzyme can be modified very slightly so that it still works but penicillin can no longer react with it (target site modification - this is how MRSA works). Or a second very similar enzyme can be mass produced to intercept and inactivate the penicillin before it gets to where it needs to be to do any harm (competitive inhibition - how CPE works).
As I said... Very off topic so I’ll stop there.