Apple censors apps not only because of security or privacy, it does also becuase of political and idealogical reasons.
No shop carries everything in real life either. There are plenty of decisions made on what goes on the shelves and what doesn’t.
I don’t see why this should be handled differently for digital.