If you want to start collecting star fragments, you need to wish upon a shooting star. They generally show up on clear nights and have a tell-tale twinkling sound. When you see one, press A to make a wish. The next day, star fragments appear along your island's beach.