Third-Order Phase Transition: Random Matrices and Screened Coulomb Gas with Hard Walls