Hey there! Actually, I don't think its all your fault. Maybe you did it wrong and maybe you did it right. But think about this; What exactly is the right way? There is no right way. We each do things differently. And we each like things differently. Things sometimes just happen. We get turned off somehow and thats what happens. Maybe it was him. You said it was your first time. Maybe he was expecting something else.
Don't worry about this so much. If you decide to do it again, you can maybe try something else or another way. If you're still learning how to do things, there's no shame in that. You're not going to be perfect your first time in pleasing someone. Maybe ask for some feedback from him. If something is working and something is not working, you both can work on it and can see what you're both comfortable with. Don't be ashamed to talk to him though. There's no shame in wanting to make someone happy.
Best wishes,
~jamesish~