Morocco&Palestine relationship

I ask an impartial tourist who does not know the background of events. I support your claim to Western Sahara, if only because Greta Thunberg is talking shit about it. But I notice you support Palestine, is it just because Muslims stick together or is there something more behind it? At the same time, some circles say that Morocco occupies Western Sahara. Is there any connection between the question of Western Sahara and Palestine?