This is typically, but not always, flirting behavior. The idea is to signal interest in a fairly confident manner without being threatening or overly forward. If he’s careful, it’s over in a split second and no one else is the wiser. Depending on your reaction, he may decide to approach more forwardly.