Goals are important.
“But fortunately, there is also no good strategic reason to have a battle here either! The initial Italian goal was the village of Gorizia, a position of functionally no strategic value, but which had been fortified (because of course it had). The core Italian goal was Trieste. Taking Trieste on the coast and so denying the Austrians their primary port might have mattered except, as you may recall, this was a war where the largest Mediterranean naval power (Britain) and the second largest (France) and the third largest (Italy) were all on the same side, making the Austro-Hungarian navy incredibly useless no matter who owned Trieste”
https://acoup.blog/2021/10/08/collections-luigi-cadorna-was-the-worst/