Interesting that people are more offended by the swearing than the calling out of the player. The OP is even titled, "Not sure what to do! Swearing coach...".
Cursing isn't such a big deal, although you should never swear at a child.
I was thinking the same thing, but thought maybe I was nuts (those who know me might agree). I just can't imagine playing for a coach who blamed DD for losing a game for any reason. I try to instill kids to try 100 percent of the time and get on when they don't, but in the end I always want them to know that I and the other coaches have their backs. The single biggest problem with our team is that too many kids are afraid to make mistakes. The more loose we get them to play the better we have become.