It's pretty simple. For example, if the wife is a widow and she gets married again, then this man has to take care of her and he makes a certain amount of money, and depending on the new husband's income, the pension is cut down.
In the case where the children are orphaned, they are entitled until they reach the age of 18. We pay 30% up to the age of 18, when they can look after themselves and go to work.