It does just not very well. Maybe the pine sap is more interested in being stuck to pine sap than soap?
There are things that are much better at cleaning non polar molecules off of surfaces, alcohols, gasoline, lye, brake cleaner etc, but they’re not great at cleaning your hands because they strip the lipids that make up your skin off.