Another way to consider the meaning of a degree is: "School X asserts that person Y knows their stuff on topic Z"
normally a school only ever says that about someone because they themselves produced and gauged that persons education. And for the same reason, normally a person only ever gets one school to say that about them.
But that could be seen as more a matter of logistics than some concept of "earning". Some school that doesn't know me can't make any declarations about my fitness to work in a given field.
The earning thing is not exactly a wrong way to think about it, but it's not exactly the only or the whole way either.