Professional sports and drafts?

most drafts for professional sports teams happen at the end of the season(NHL, NBA, NFL,WNBA,) so why does the MLB have their draft in the middle of the season?
1 answer 1