I came from 30 years of piano and have the same story as you. I thought my finger dexterity and control would have made guitar much easier. But I struggled with them doing what I told them to do. It got better but still three years in it’s not as easy as I’d like.
I realized that for guitar to sound good, both hands have to be doing things right, which still isn’t a reality for me. For me, the two hands are improving in spurts at different rates and at different times. I refer to it as the hands improving like a see-saw, one hand improves a little while other doesn’t, then other one gets a little better, then the other, etc etc.
My hands are small and while no one wants to acknowledge that small hands have challenges, I have been dealing with fretting hand reach, fatigue and buzzed notes issues for the entire time.
Also brain fatigue and time constraints are major challenges. Boredom, not finding many songs I want to learn and not having a hard rock learning path have made my learning a bit of a drag.
I don’t remember ever dealing with any these things with piano. I wanted to learn classical piano, the lessons teach classical style from the very first lesson. Not so with hard rock and guitar.
Overall, I have zero issues playing to a metronome, understanding any theory concept, or note/chord progression memorization as that is all second nature to me.
But the hardest thing to me is knowing where the damn notes are because mostly you don’t want to play the guitar like you play a piano - in a straight line, you have to play in the scale boxes or within chord shapes and there’s…so…many…notes…so…many…scales…so many different places… I don’t know how anyone learns it all and uses it practically. That’s been my curiosity about guitar all of my life… Just… HOW???
ETA - find anothrr guitarist who is skilled and willing to be patient with you, if you’re the type to have a zillion questions and self doubts. If you have nobody then you’re just stuck with those doubts.