Alex, your definately not doing anything wrong...
Babies are all different & unfortunately dont come with directions, so it is all a learning curve & trial & error with alot of things...
It could be colic, it could be reflux???

Perhaps go see or call the 24hour MCHN hotline & explain what is happening..

Babies also have periods of unsettledness!

You are doing a marvellous job, it takes time to learn our babies cues etc...

Best of luck...