At this age its hard. For them.
But yes, kids at different ages, get like this.
And also they can't articulately, say and communicate well, nor do they even know how to analyze their feelings. They don't even, know... the exact specific names, for their feelings etc. And they certainly do not have, fully developed coping-skills, either. They are not born, with these aptitudes or abilities.
They don't even have fully developed logic or emotions yet, and they really do not have any fully developed deductive or inductive reasoning, either. So all combined, kids at this age... have a hard time. But the adults expect them to have the ability for it because of their age. But they don't. Yet. Not even some Teens have that ability.
On Amazon, they have a good book series about each age of a child and what they are like at each age. Though written years ago, it is still pretty pertinent. I like this series. So per your child, the book is called "Your Three Year Old." Then there is "Your Four Year Old," etc. for each age. I would recommend getting it.
ALSO, when kids this age are tired or over-tired, they get like that. And again, they do not have, the communication skills or even the emotional/cognitive development... to astutely nor accurately analyze, their "problems" or emotions, or difficulties. So this gets them more frustrated, too. And their tolerance levels are not like an adults. So they get seemingly, short fused.
From when my kids were Toddlers, I worked with them on teaching them the "names" for feelings and HOW THEY can tell me... if/when something is bothering them, and also that they can tell me... and as a "TEAM"... Mommy will help them, figure it out. This has really helped. And then by the time they were 3 or 4 years old, my son for example at 3 years old, knew the differences between him being "frustrated" or just "grumpy." AND he could tell me, and he would tell me, and he would ask for help... as I encouraged him to "explain to Mommy" what it is, that is "irritating" for him. That way, the child as well, gains the ability, to say.... and know... their own cues.
And this... is very important. Along with the knowledge, that Mommy is there to assist and help them figure it out too. Instead of just scolding for any emotion. Per my son, I wanted him to learn about expressing his feelings... as a boy. And that it was okay. So I really, since he was a Toddler, focused on these aspects with him. He is 6 now, and really knows his own "cues" and emotions... and he can say it.
This can really help a child... per frustrations and coping.
And per certain ages, they get tweaked when something is not "perfect."
And sometimes, instead of arguing with my kid or rationalizing it, I will just leave them be and they figure it out.
No battles.