Why I can add folder to `On My iPad` location but I cannot add folder to `On My iPhone` location?
This is a new feature of iOS 13.
Your iPad is on iPadOS 14.2 so has the feature and your iPhone is on iOS 12.4.8 so does not have the feature.