Whats the difference in sharepoint permission giving?

I’m at my wit’s end with this one…

I’m not even sure how to explain this… What’s the difference between using the permissions access on the home page and the permissions access using site permissions? When I add them from the home page (picture one), they don’t show up in the site permissions page. Using the home page

Using site permissions enter image description here