mother in laws dog..

So we go to my mother in laws house and they have 2 dogs male and female. Well usually when I go over there the dogs never come to me I try calling them holding a treat out and nothing. Well today I went over there and the male dog came to me on the couch sniffed me and layed on my stomach the whole time if I'd leave his side he would start whining and barking til I sat next to him again he became very attached and both me and the mother in law found this very strange. She said he has never acted that way around any one..