The paladin's Divine Sense feature allows the paladin to
...detect the presence of any place or object that has been consecrated or desecrated, as with the hallow spell.
Similarly, the spell detect evil and good allows the caster to
...know if there is a place or object within 30 feet of you that has been magically consecrated or desecrated.
How, other than via the spell hallow, can a place or object be consecrated or desecrated, so that it would be detected by Divine Sense or detect evil and good?
Question inspired by this one, where we establish that Divine Sense cannot detect whether an object is cursed.