Maybe courting... Mine pop their jaws when they get "excited."
When the actually mate the female will make a ball of eggs that hang, he will fertilize and then take them. Never seen it just what I've heard, mine spawn at night cardinals are nocturnal.