If he was the one that initiated the hug, it would be more likely that he was showing attraction.
You can keep some distance, or angle your body away from him to keep things casual.
While you are in the middle of kissing, gently and lightly take his lower lip or upper lip between your teeth, and pull it slowly back.
Moderator Discretion: While the rules of this sub are listed above, no set of rules can cover all of the content that people may post.
His hands may trail the length of your back until they are resting on your buttocks.
It may indicate that the other person is not willing to go further in your relationship.