Why am I more confident around a girl after she rejects me?

I start being more confident and then she wants me back. But I don't want her back

Why am I more confident around a girl after she rejects me?
Post Opinion