Hi there,
Learning guitar as a beginner can be tough because your hands are doing things they are not used to. Everyone is different, so it's possible that you just don't have the muscle and dexterity yet to practice for longer periods of time.
It's also important to understand how to hold the guitar, and to hold your guitar with a relaxed grip so that you are not straining yourself.
You can also try adjusting your grip or revisiting Lisa's lessons on how to hold a guitar here: https://www.guitartricks.com/lesson.php?input=21987&s_id=1766
Let me know if you have any more questions.
Billy