While fish do not have the same emotional capacity as humans, studies have shown that they are capable of displaying empathetic behaviors.
One study, published in the journal "Current Biology," found that zebrafish were more likely to help a distressed fish if they had previously had a positive social interaction with that fish. This suggests that zebrafish are capable of forming social bonds and feeling empathy for others.
Another study, published in the journal "Animal Behavior," found that clownfish were more likely to defend their eggs from predators if they were in a pair and both parents were present. This suggests that clownfish are capable of coordinating their behavior and working together to protect their young.
While fish may not be able to feel emotions in the same way that humans do, these studies show that they are capable of displaying empathetic and caring behaviors.