Pitch isn't bad. India scored 325 in the first innings, and they batted second (e.g, not when pitch was at its best in the first day).
325 (and 265) are legitimate test totals. Some pitches help spinners, some fast bowlers, some batsmen...and some help some combination of the three. People claim the perfect Test pitch to help the fast bowlers on day one, batsman on day 2 & 3, and bowlers and especially spinners on 4 & 5.
But while that's fine, if every pitch did that, cricket would be very boring indeed. I want some variety, and this pitch isn't as bad as what some made it out to be, considering on such pitches batting last is suicide, and it looks like India will win it.
Not saying you were saying any of those things, but I just want to throw it out there for some of the others. Learn to play on hard pitches, it's really that simple. The pitch in Ahemdabad helped fast bowlers, and if someone wants to whine about this pitch, I'll whine about that. Both times the side that won the toss went on to lose the game, so that tells me a lot.
To answer your question though, its a combination of the pitch, and some bad batting. A couple dismissals were clearly pitch related, but there were lots of heaves across the line of the ball, which were unnecessary.