(Here I implicitly use the exclusive definition of a percentile)
Let’s assume that we have following set of numbers: {10,20,30,40}. The median of this set is the mean of 20 and 30, namely 25. But here is a problem: Our median is basically 50th percentile. And 50th percentile means that 50% of datapoints are below our number, namely below 25. And it’s true! BUT, while it’s true for 25, it’s also true for any number in (20;30] interval, like 23. Does it mean that all numbers in (20;30] interval are 50th percentiles and consequently, medians? And if not - why?
Incorrect. The median and a 50th percentile are NOT the same thing. There is only one method for finding the median, while there are many methods (up to 8, probably even more. Calculator for all 8 methods: https://www.wessa.net/rwasp_percentiles.wasp) to find a percentile and they can give such 50th percentile that it can be different from the median. The median gives similiar, or even equal result, to 50th percentile, but it does NOT mean the same thing, it does NOT imply that "50% of datapoints are below the median", although it CAN be used as estimator for 50th percentile.
So there can be several 50th percentiles, but the median is always only one.