The way it works when you use Edit in PS on a raw file from within Lightroom Classic, depends to a small degree on the respective version level of ACR in the two apps. LrC has the ACR code built-in, and PS has an ACR plug-in. If both apps are up-to-date, the version of ACR should be the same. If you do Help>About Lightroom Classic (will be under the Lightroom menu on Mac) you will see the Camera Raw version number, currently 13.1 in LrC10.1. Similarly in PS you can find the version number of the ACR plug-in, and if PS is up-to-date the ACR plug-in would also be version13.1.
The way it works now, i.e. using Edit in PS from within LrC, when the ACR level is PS is the same (or later), LR seamlessly passes all the relevant data to PS using an API called Bridgetalk. Obviously PS cannot directly render the raw data, so it has its ACR plug-in do that rendering (you might see a progress bar in PS to that effect). ACR silently (i.e. no ACR UI is shown, as it's not needed) renders the raw file and applies all the LrC edits, storing a Tiff/PSD in the system cache for PS to open.
If the ACR level in LrC is newer than the ACR plug-in in PS (can happen if running a back-level version of PS), LrC does not automatically pass the data to PS. Instead it asks the user what they would like to to via the "ACR Mis-Match" dislog message. That gives the user the option to have LR render the Tiff/PSD first, or to use the "Open Anyway" option to proceed to have the ACR plug-in render the file as per the normal "both ACRs at the same level" method. The reason for this is that when the ACR version in LrC is newer than the ACR plug-in in PS there is the possibility of new ACR functionality having been used in LrC which the ACR plug-in in PS would be unable to deal with correctly.....so in that situation it might be better to have LrC render the file first, thus ensuring all edits are applied. The only downside is that it means the Tiff/PSD is automatically created and stored on disk and added to LrC's catalog before getting to PS.....and if the user subsequently chooses to abandon the PS work without saving, there's then a spurious Tiff/PSD to clean up in LrC.
But in neither case is the ACR UI shown in PS.