Guilty for friendzoning

Lili

Yesterday a friend of mine started flirting with me over text. I quickly pointednout that I have a boyfriend who I love very much and that I dont want to lead him on, but that we can still be friends. Now all of a sudden I feel this rush of anxiety and guilt even though I didnt do anything wrong. I protected my relationship so why do I feel this way