Because it's spelt "do" in Russian. It's only due to stress and the fact it's a preposition that the way it is said becomes "da".
As the preposition is so small, it's considered together with the following word, which in the genitive has its stress on the "а".