The Stanford Prison experiment was theater. Milgram was only slightly better. Never mind being unethical, they are just poor science. This is the core of the replication crisis in psychology: theatrical, grandiose claims get all the attention and people leap through hoops to defend them.
https://www.theatlantic.com/health/archive/2015/01/rethinkin...
https://www.vox.com/2018/6/13/17449118/stanford-prison-exper...