The judges got it right. Fioravanti may have more difficulty than Perotti, but Perotti was far cleaner. Fioravanti had two deep landings, some hops, poor position in the wolf turn, crossed feet in the twist, flexed feet on several skills and multiple dance and artistry deductions. However, if she can work on her foot form and dance, and fix her position on the wolf turn, she'll be a force to be reckoned with. She's obviously hugely talented. Italy is blessed to have her.
Emma won Jesolo last year. This year at the Italian Series, Giulia competed in A1 group, so Emma won all the golds on floor, then at Jesolo she won the gold over Giulia, and here at Euros she qualified in 1st over Giulia, so my guess is that she was pretty confident on the gold and got disappointed with the silver (although she should be happy and proud).