Jermaine Gresham was trying to defend a teammate.

Even so, the Cardinals tight end knows he made a mistake by trying to pull a Raiders player off Larry Fitzgerald late in Sunday's 23-21 loss. The offense had the ball and was trying to milk the clock down as low as possible before punting back to Oakland.

Not only did Gresham's unnecessary roughness call cost the Cardinals 15 yards, but it stopped the clock. The Raiders got the ball back on their game-winning drive with 1:53 remaining and would have had 40 seconds less if not for Gresham's penalty.

"It was just a dumb play by me," Gresham said. "I turned around and saw my guy on the ground. It was a stupid thing. You're not coached that. You're not taught that. They didn't bring me here to do that. It was stupid, and I cost us the game."

Coach Steve Wilks said the Raiders were doing extracurriculars throughout the game but told his players not to engage.

"The guy as (Gresham) explained to me was doing something at the bottom of the pile," Wilks said. "Regardless of the situation, we can't be enticed by that."

Quarterback Josh Rosen said he didn't get a great look at the scene as it unfolded, but understands the urge to have a teammate's back, especially when it's a player of Fitzgerald's stature.