An analogy question asks you to find the same relationship on both sides of the colon. Here the first pair is Water : P, and the missing word P should relate to Water the same way Q relates to Food.
Only Thirst and Hunger keep the same need-and-relief relationship on both sides, so option (A) is correct.