Too much chatting, chatting should be done in person, cellphones are for logistics only.
Pretty much she made plans, she invited you, she was the man, you didn't even suggested anyhting different, she held the frame of the interaction, maybe she was super interested in you, but, dinner is the most boring and unoriginal date there is, also it should be a reward for good behavior.
You should have done a fun date where drinks are involved, where you can touch her, tease her, play with her and escalate. How are you gonna escalate during dinner? touch her hand awkwardly while she's sitting on the other side? Giving her a kiss at the end of the night walking to her car?
She was just reflecting the lack of masculinity from your part onto you, bro. Too much talking, boring date, I'm assuming no escalation from your part, no putting you balls on the chopping block to try to kiss her, just more chatting.
Does this sound like a confident guy? You pretty much said, "Hey I'm sorry your highness for your emotions, but you getting annoyed is killing me inside, please forgive me for taking you on a dinner date, I shouldn't have done that, I should've known better that I'm out of your league"
No need, it continued like something like this: Hey, its not you, you're very nice, its just I'm going through $hit right now or my ex is stalking me, making my life a living hell, or my family is going through hard stuff, or I need to get my life in order, or I'm going through a hard stage in my life, but it was really nice meeting you, I'm not in a place of having a relationship right now, but we can still be friends.