In the books out of wedlock children of the noblemen from the north were given the last name Snow. This identified them as illegitimate and would not be in line to inherent any property or title.
Ramsey’s last name is along Snow. He is the illegitimate child of Roose Bolton. Jon is the illegitimate child of Eddard Stark.
His name is Lord Bolton now, lol.