helppppppppp

how do I make my boyfriend want to be near me when we're around other people? he walks beside me sometimes in public. but he never holds my hand or puts him arm around me or barely even talks to me. but when we're alone, he's all over me all the time. he use to hold my hand and everything but lately he hasn't been doing that stuff. what can I do to make him want to be closer to me?