I don't know the reason why Tom did that. - I don't know the reason Tom did that.
I don't know the reason why Tom did that.
I don't know the reason Tom did that.
Why did he come here? - What is the reason why he came here?
Why did he come here?
What is the reason why he came here?