Asher Maslin, who brutally killed his ex-girlfriend Hollie Gazzard when she dumped him, "couldn't take rejection," police said.
Detective Inspector Angela Middlewood, of Gloucestershire Police, said: "He was a very volatile individual. He was very controlling and possessive.
"Hollie had broken off the relationship with Maslin and he couldn't take the rejection."
She added: "I don't think we believe that Hollie thought that something as brutal and awful as that would happen but she was aware that he would turn up and pester her and couldn't accept that the relationship was over."
More top news
Slippy start tomorrow with frost & ice
The court will determine how much the UK government and travel firms knew about the risk of an attack on tourists holidaying in the area.
Car insurance for young people could rise by £1,000 a year after a change to compensation payouts for those with life-threatening injuries.