The compatibility chart for SP5 indicates ...
"Surface Pen tilt functionality is available. May require updated firmware."
I'd suspect there is no firmware update for the SP4 that would enable the functionality but that's just my guess. Also, I believe the pen itself would have to support it.