In Captain America: Civil War, there was a scene where an ant-sized Ant-Man was on Captain America's shield while it is held by Spider-Man. Ant-Man then grew larger, sucker punched Spider-Man and took Cap's shield. What's weird to me is that Ant-Man was able to sucker punch Spider-Man despite Spider-Man's spider-sense ability.
In a later scene, Spider-Man spider-sensed the object thrown to him by Bucky and was able to evade it and even throw it back, despite being distracted by pursuing and fighting Falcon at that moment. Why did Spider-Man's spider-sense not detect Ant-Man's attack? Does it have something to do with Ant-Man's ability?