Thanked for a broken window
The puzzle
A man smashed a window.
The owner of the house did not ask him to pay for it.
She thanked him.
See the answer (spoiler)
Spoilers from here on. If you want to work it out yourself, leave this folded and move on.
Answer
There was a fire — or a gas leak — inside the house.
He spotted it from the street and broke the window to get the person inside out, and to let the gas escape before it went up.