Phone touchscreen malfunction when connecting audio circuit to it's jack
A smartphone typically has a TRRS jack, four conductors. Using a TRS jack with three conductors like you are is causing a conductor to short. That conductor carries the mic input and button press signals. You are triggering the pause play, answer call hang up actions at the very least.  Use a four conductor plug.