Welcome to Android Central! The digitizer may be faulty. The S Pen doesn't use the digitizer--it can actually figure out its position relative to the screen by using information from the electromagnetic field that's used to power it. Bring the phone to a repair shop, or call Samsung for warranty repair.