Why did my boyfriend said sorry to a girl for having a girlfriend?

A new female friend asked my boyfriend if he is single.. he denied it and told her that he is committed but also said sorry... and she was flirting with her.. which he rejected and said sorry if he hurt her feelings.

Why would he say sorry for it?

Why did my boyfriend said sorry to a girl for having a girlfriend?
Post Opinion