What causes his behavior to change?

There is this guy who was very confident at first and that is the reason why I started to like him. But as time went by, he started to act nervously around me. What does it mean?

What causes his behavior to change?
Post Opinion