It looks like some versions 2019 13 inch MacBook Pro have an issue with random shutdowns and now Apple has acknowledged the issue.
Apple has said that there are a couple of things people can try out and if these don’t work then you can contact them to get your issues resolved.
What you need to do is run your battery below 90% and then charge the device fully for at least eight hours, also make sure you have the latest software installed.
If the shutdown issue is still there after you have followed the above steps then you need to contact Apple and arrange for them to look at the device for you.
Source MacRumors