I understand how you're feeling.
Like
@SCraig said, we all feel burned out time to time. It's the part of being an artist.
I did something crazy and switched camera systems in hopes it would somehow get my mojo back but it didn't unfortunately, at least not yet anyways. Struggling with anxiety, depression and all the BS that's in my life right now I'm finding it hard to be in touch my creative side. Some people are naturally good at it but I also believe quite of few them don't pursue it their entire lives either. They just give up after a while and move on to something else that is trendy and I've seen it. I knew amazing photographers with just an incredible national geographic like portfolio and out of nowhere, they disappear. That isn't photography to me, I believe photography is a lifelong journey which has its ups and downs and periods of doubts.
When I first got into photography I didn't even realize I was into photography because I was just taking pictures for the heck of it as something to do. Never cared what people thought, I just did it for me. That was before social media. Now it seems I'm taking photos for
them instead myself. When I'm out shooting, I'm constantly questioning myself and asking "will people like this photo?" and when they don't, I felt horrible.
I realized that my best work are photos I've taken because I
WANTED to take them. When you force yourself to take photos when you really don't want to, they'll never be as good. You think all the great photographers out there took photos every single day? Heck no. I'm sure they had a few weeks without pressing the shutter button here and there.
Do I find photography silly? Depends. Instagram in particular comes into mind. I found many photographers on Instagram to be silly. Multiples of them taken photos at the same locations with almost the same composition and similar processing. I find that silly. Because they aren't taking photos because they like it, they are taken photos to become popular on social media. I went down that road and I'm trying to find my way back. Comparing yourself to others, editing your photos based on trends and others so you can get more likes and followers is not healthy for your photography.
Don't give up. I felt like giving up many times and you feel like that, just take a break and do something else to get your mind off it. Your camera isn't going anywhere. There will always be photography opportunities waiting for you when you feel that you are ready again.
You can't rush photography. Like I said, some people pick it up within a months or year and others like me takes many, many, many years and that is perfectly okay. There is not right or wrong when it comes to art.