Eso te pasa ..... no mirar donde miras.
D
Correct answer
Explanation
This tests Spanish prepositions. 'Eso te pasa por no mirar donde miras' - the construction is 'pasar por' (to happen because of/due to). 'Por' introduces the cause/reason. 'Porque' is 'because' (conjunction), 'como' is 'how/like', 'que' is 'that' - none fit the causative meaning needed here.