Mystery Rock

This seems to be quartz, but what is the crystalline mineral it’s riddled with, and how did it form?