Can a adapter make your iphone go wack?

I bought a new pink adapter for my iphone yesterday at a small store when I was on vacation. (Not a apple store) I just plugged it in to the cord and my cord to the phone and my phone started going nuts! Everything I clicked on would go to something else and wouldn't scroll down. It's like it had a mind of its own! I unplugged it from the charger and instantly everything was normal I tried this a couple times and then plugged it in to my old adapter and it worked fine. So I'm just wondering if the adapter made my phone go nuts.

Actually yes cause what happens is that apple is really strict when it comes to any accessories you plug into iDevices. So I would recommend for you to get the accessories that apple sells. I mean you can use others but sometimes the iDevices won't accept them, you can use the charger but you won't be able to use your phone until charged.

Yes it can, I strongly advise against non-official Apple Accessories as you don't know what other "cheaper" solutions might do to your phone, in future I advise getting apples own official accessories