I'd like to take a step back and present a simple mathematical concept that the OP might not have knowledge of.
There is a thing in Math called "convergence".
When you undergo a process of iteration, you often trend towards two possible states
A) Convergence, each iteration brings you to a specific point (or data set)
B) Divergence, each iteration pushes you away from a point (or data set)
In the case of sexual selection and mating, etc this is a process that could easily explain how many species came to be. Lets say I'm born in a litter with 9 siblings and I have 4 spots on my forehead and i notice that 7 of my siblings have 4 spots on their forehead. WHen I go to mate, I will be biased towards those that have 4 spots on their forehead. Over time, this will lead to a convergence of my species in which we all have 4 spots on our foreheads...
Now factor in another variable like Predator / Prey relationship and the environment.
Now, lets say that there is a species of snake in my region that is very poisonous and this snake has 4 spots starting on its head then going down its back. These 4 spots "coincidentally" look very similar to the 4 spots that I have on my forehead. This complete accident has the added benefit of predators avoiding me just because I have those 4 spots. This means that predators are quick to eat others of my kind that have 3 spots or 2 spots or are missing spots all together. This factor helps those of us with 4 spots on our foreheads and leads to us surviving better than those with a lessor number of spots...
There are other factors and possible examples but I'll stop with those two.
The point being simply that "convergence" is a very real phenomena that can happen for a variety of reasons. . Similarly, oftentimes it doesn't take much to get convergence to a particular trend or trait especially when you are talking about phenomena that has thousands or hundreds of thousands of iterations. In the case of evolution and millions of years, that equates to hundreds of thousands of generations with each generation being considered an iteration.
Doesn't matter if the cause is accidental, environmental, etc...
Convergence happens all the time and for a variety of reasons.