The main factor influencing the social structure of lion prides is related to the availability of resources, particularly in terms of food and territory. Lions form prides to increase their hunting success and protect their resources, such as prey and access to water sources. The social structure within a pride, including the roles of males, females, and cubs, is shaped by the need to efficiently utilize these resources and ensure the survival of the group.