Thank you for playing!
The boss actually has a weapon resistance that shows below his health bar and changes as the fight goes on. He won't take damage while he has resistance to a given weapon. It can be easy to miss!