I agree with what Padawanlost said. I can only add that some Jedi tried to maintain their ‘no attachment’ way and/or at first didn’t see clones the same as human beings –
what was common idea between Jedi and citizens of Republic
in the earliest stage of war, yet the fighting side at side with clone troopers very quickly changed that. In Legends sources we may not see Jedi* mourning dead troopers too often – like Padawanlost pointed out, it’s not Jedi way – but there were scenes like that:
Within moments, that swamp was an inferno. Those that could regrouped at
the rendezvous point and got pulled off planet. We couldn’t get the
wounded out. They burned where they fell. It was hideous. The planet is
still burning, I think. Evidently Count Dooku wants to make a point to
other planets thinking of re-joining the Republic. The Republic has lost
parcelus minor. I lost ninety percent of the troopers.I know they’re
just clones but… they were good men.
As a Jedi, I was taught to preserve life. I led these clones – no, these
men – to their deaths. These were living, sentient beings. What I have
been asked to do is the opposite of everything I was trained to do as a
Jedi. It betrays everything I believe we are meant to be as Jedi.
In both cases, Jedi idea of what clones are was challenged, while the death of troopers was not something they could shrug off like nothing happened. I think this is the closest to examples of Jedi* visibly mourning death of their troopers because they were living sentient beings that Jedi should protect, not sent to fight & good men who didn’t deserve such cruel fate.
*Jedi less known, because I’m pretty sure Legends books/comics have more examples of main heroes like Anakin or Obi-Wan to feel bad about losing their men.
Ughhhh I wanna turn you into a blanket burrito and feed you my chocolate cupcakes (which are amazing btw) and tell you aaaaall my dumb Star Wars headcanons aaaaaaaaaa