What makes you say “we can be friends” instead of “im not interested” or “i have a boyfriend/gf”?

If someone says they like you or asks you out what makes you say one thing over the other?

What makes you say “we can be friends” instead of “im not interested” or “i have a boyfriend/gf”?
Post Opinion