He knows your there, he's doing it on purpose barking at you like that. It's a trick they like to use. My guess is you are close to something he doesn't want you to be. Either their den, or a kill or something. I've seen them do this numerous times. It's his way to get you to follow him in another direction