你变的间接引语的句子 Tom asks me why I came here so late.是对的.
只不过你的原句不对哟,用what意思讲不通,应改为why.即:
Why did you come here so late?