Because it “kills” the process by straight up stopping it no matter what operations it is performing. Clicking the close button meanwhile just tells a program to start a “close” operation, which of course will go nowhere if the program is frozen as it cannot process any more operations until it unfreezes.
Latest Answers