Palestinian refugees are defined differently by the UN vs essentially all other refugees.
Palestinian refugees fall under the UNRWA while normal refugees(i.e. refugees from essentially all other countries) fall under the UNHCR. The UNRWA definition is hereditary while the UNHCR definition is not. This hereditary definition is largely why the Palestinian refugee populations can increase over time in other countries so easily vs normal refugees.