Temper tantrums

My almost 9 month old all of a sudden started throwing temper tantrums at nap time and bedtime. I put her in her crib and she goes crazy. Standing up and bouncing while screaming. I will lie her back down, try to give her her pacifier, (she refuses it and kicks and screams) shush her, and leave the room and do this over and over until finally I just pick her up and rock her. Sometimes this works and other times it doesn’t. She gets herself so upset that she makes herself throw up. Once she’s actually down she sleeps about 12 hrs without waking up.

She isn’t in pain from teething or hungry or anything like that.

I don’t know what has changed. Before we could lay her down and she’d fall asleep within a few minutes. I don’t know what to do it’s heartbreaking.