Two mechanisms of droplet splashing on a solid substrate