Font-relative units (rem and em, specifically) have been supported across all browsers since 2010. Viewport-relative units (vh, vw) have been supported cross-browser since 2014.
I suspect that design tools didn't/don't support these units (I'm not sure because I'm not a designer) and that is why px have remained so prevalent.