What does it mean if a guy ask if you can cook?

you see I've been around this guy for a while

and he always keep mentioning about wanting to get married...

he would say it out loud casually for many to hear, but out of all people he randomly ask me if I can cook..

i can read this guy.. one minute he would ignore me, the next he would greet me by my nick name and yet we aren't even close

we never had any personal deep conversations.. we would only have moments alone and usually its just about school we talk about..besides calling me by my nickname , he considers me his "buddy"... does that mean he is making sure that I m just in the friend zone and nothing more?...confuse