Baby "fighting" the boob

I have a 10 days old baby and for some reason when we start feeding, he first latches and then he spit out the boob, proceeds to cry because the boob is gone, and i try to get him to open wide again, he latches, then does it again.

I shall mention that he was tongue tied and we got it cut, but this fussy behaviour was there even before the cut.

It's super frustrating for both of us, I keep telling him "to had it! You had it in your mouth!" but to quote RuPaul, he is his inner saboteur.

He can spends up to 5 minutes doing this before settling for a good feed.

Any of your have had this issue? Is it going to pass? What could be happening that makes it detach and fight the latch?

Thank you