The 'classic Nicola Sturgeon ego' has been blamed for the former first minister's remarks about future female leadership in Holyrood.