And why is it not taken into consideration by divorce courts?

Genuine question from a clueless 25 year old single man.