This question already has an answer here:
Death Star 2 is protected by a shield generated on the sanctuary moon of Endor.
This opens up a tactical risk of the shield generator being attacked on the ground.
If the shield was generated by the Death Star itself, that risk would be mitigated. Is there any practical or technical explanation (any level of canonicity, and fine if it's Star Wars tech mumbo jumbo) for why it has to be generated from the moon?