What’s happening to my cherry tree?

My cherry tree seems to have a problem. It made flowers as normal, but now a lot of it is looking dead, while only some spots still have leaves on it. As shown in the pictures, some fruit seems to be growing. It’s been that way since last year, although a little less. What could be happening to it? It’s watered enough, and gets plenty of light.