What is the meaning of this passage?


I started reading a practice reading for N3 yesterday, and found this passage
in a sentence that is very confusing

他人から見れば「 **どうしてそんなことを」というような** ことをしてしまう親のことである。

If someone can help me I would really appreciate it.

Thank you




「するの?」is omitted at the end of 「どうしてそんなことを」. It means "Why do you do such a
thing?"

My attempt is as follows. This is about parents who end up doing something
like others say, "Why do you do such a thing?"




「するの?」is omitted at the end of 「どうしてそんなことを」. It means "Why do you do such a
thing?"

My attempt is as follows. This is about parents who end up doing something
like others say, "Why do you do such a thing?"

