$\Sigma^0$ and $\Lambda^0$ consist of $uds$. $\Sigma^+_c$ and $\Lambda^+_c$ consist of $udc$. $\Sigma^0_b$ and $\Lambda^0_b$ consist of $udb$. There is probably something similar for $udt$. They have the same spin and differ in isospin. $\Sigma$ has a greater mass than mass of $\Lambda$.
In a similar question How can $\Lambda^0$ and $\Sigma^0$ both have $uds$ quark content?, the accepted answer refers to isospin. In another question What is the difference between $\Lambda$ and $\Sigma$ baryons?, the answer https://physics.stackexchange.com/a/248668/327171 also refers to isospin. This question has a some another formulation and accent. What is the difference in the interaction between quarks in $\Sigma$ and $\Lambda$ baryons?