My father was pained by my foolish question.

Literal

Father [topic-は] my foolish question [by-に] suffered.

苦しまれた uses the passive ~れる with a nuance of adversity — the father was 'subjected to suffering' by the question. 愚かな (foolish) is a na-adjective.