probably because your gevey does not support the newer firmware youre trying to upgrade to, plus if you are jailbroken and trying to upgrade over the air that will be your problem..
you will have to plug your iphone into itunes but make sure 6.1.3 is supported first, if not then stay on that firmware