The 挨 here is read ái (second tone) — the 'to endure, suffer' reading — not āi ('close to'). Pairs naturally with 受 ('to undergo'): 挨饿 (suffer hunger) + 受冻 (suffer cold) = a balanced four-character compound.
mistakes
Mind the apostrophe in pinyin: ái'èshòudòng. Without it, the syllable break between ái and è would be ambiguous (since è starts with a vowel, the apostrophe is required by Hanyu Pinyin orthography).