hash – hashtags in URLs that are not indexed

I have a site that I use Scrollify to control scrolling. When scrolling, hashtags are added to the URLs to land the scroll perfectly in one area of ​​the page. Unfortunately Google does not try to index this page. I think it's swallowing the hashtags. I do not think Google should even try indexing this page. When I look into my search console, I see that example.com is indexed, but example.com/#1, example.com/#2 is a new page and not indexed.

I'd rather not index the hashtags as new pages. I wonder how this is achieved.