Instagram story viewers are generated by the Instagram algorithm which takes into account various factors such as the user's activity and engagement with the account, their relationship with the account holder, and the content of the story itself. The algorithm then prioritizes and displays the story to the user's followers and other potential viewers based on these factors.