How does vision improve immediately after phacoemulsification?

What are the main reasons vision feels sharper immediately after undergoing phacoemulsification surgery?

I had phaco surgery a few months ago, and the moment the patch came off, colors looked brighter and text was clearer. It felt almost immediate because the new lens corrects the distortion caused by the cataract. There was still minor blurriness at first, but it settled within a day or two.