It was only 10 days ago that the accident happened.
It is only 10 days since the accident happened.
When the sentence has two clauses like this, and is viewed from the present time, ago is preceded by the simple past tense (was), and since by the present or present perfect tense ( is, has...