Did he create those problems or inherit them? The situations in Iran, OPEC, etc. long pre-dated Carter. Another problem was a military that was ruined in terms of morale and probably in wear-and-tear by Vietnam.
And yet he supported a coup. He was just too "blind" to see which one. And it's a little far fetched to call an armies call to take over the unstable situation a coup when the current head of the state is incapable to take any action because of a serious illness.
Mostly inherit them. However it is an open qusetion on if he handled them well. Would some other policy (that you get to think of in retospect and of course handwave away any bad parts that might happen with them) have done better?
Agreed, and that's always a problem when evaluating political (and some other) performance. It's easy to say 'they could have done better'; it's easy to say 'they couldn't have done more in the circumstances'.