Why did my MacBook just shut down out of nowhere?

Hello, I am confused about this thing that is going on with my Macbook Pro, it said that it would go to sleep soon unless plugged in because the battery was low, and I plugged it in, it was charging just fine, and I had it sitting on the Home Screen with nothing open in the background, and it just shutdown automatically, I don’t know what is going on, and I have it all up to date. Someone please help me with this problem.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1

crwdns2944067:02crwdne2944067:0:

Have you tried turning it on? If so what happens

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

Let’s get a better view of things, install this gem of an app! CoconutBattery take a snapshot of the apps main window and post it here for us to see Adding images to an existing question

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0