Example 1
"They are not taking advantage of the opportunities. Why did they come to the country? That's stupid."
Example 2
Why are you still making fun of me? I have embarrassed myself enough.
I don't know if this kind of question can be seen as a rhetorical question or not. But they serve the purpose of trying to make a point, I think.
My question is: do they serve the purpose of trying to make a point? What are they called?