There could be any number of reasons why you failed, over-confidence (which may seem as arrogance to the interviewers) is definitely one.
I wrote something up some time ago, it's old but most of it should still be applicable. Go have a read to gain a little insight into the recruitment process.
http://www.pprune.org/forums/showthread.php?t=227748