If you say dal you are meaning that this point is not X and the subject in in another place..The sentence: quanto dista il punto X dal punto Y? meaning that X is a point and Y is another one, and the question is: how long from the point X to the point Y?