I think this is a matter of the heart. Jesus challenges us to see life as a matter of what is in our heart and not the physical world. Jesus says we will be blessed when we mourn. The cause of the mourning is not seen as a good thing. It is about getting our heart right. Blessings flow from that.
“Blessings accrue on a good and honest life, but the mouth of the wicked is a dark cave of abuse.” ~~King Solomon (Proverbs 10:6)