wow thank you guys i appreciate your input and help.
i spoke to him last week actually and was kind of wierd cuz it seemed like i was desperate to know, i asked him again but i rephrased the question to get more details "when did u start composing melodies in your head? how did it all start? and were u always this good?"
he said first he started writing lyrics, just lyrics when he was 12... at 14 he started to hum a melody over his lyrics, he said that they honestly sucked bad and were so basic, i begged him to sing one of those old songs but he refused saying that i will laugh at him.
it was a daily routine for him, he didn't really care about how good it sounded or how bad it sounded at the time he was just having fun, a hobby. years later he said my head started to work better and faster at it and i started getting used to it. and also said he doesn't know how he got this far.
conclusion-
i guess that he thought that making a melody was just a head thing, so his brain didn't know any better. the brain just started developing accordingly. it's hard to explain but over time his brain was trained to just do these things.
my opinion on talent,
i think talent is hard work, but to start learning that special craft during childhood it's way less than half the work. as you all know the brain takes things in alot faster.
edit - to raving spleen:
lol no i'm not jealous man, i'm a producer, i'm rather intrigued by his skill and hope his skills will improve more and more. he's the reason i got inspired and wanting to make melodies
the whole idea of it just seems so nice, you know
you can be on a plane, a train, a restraunt or even driving, you vocal chords are your only instrument. and melodies will just come to you, it's a great feeling. one day hopefully, but for now i will be practicing :)