Do guys just flirt and compliment women for banter?

Do guys flirt with women they don’t find attractive, and compliment them? Would a guy ask you about your life if he didn’t find you interesting? A guy I know occasionally flirts with me, tells me I look good, and asks me personal questions about my life? Is this just banter or?
Do guys just flirt and compliment women for banter?
Post Opinion