What are the reasons for variation in gender ratio?