Why a girl who likes me, ignore me unless I give attention to her or talk her, so she talks me back and stop ignoring me?

Why a girl who likes me, ignore me unless I give attention to her or talk her, so she talks me back and stop ignoring me?
Post Opinion