Problem: you're trying to create a path using Photoshop's Pen tool. However, the path becomes a shape. It even gets its own layer.
Solution: watch this video :)
To convert a path into a shape (or the other way around), watch this video: https://youtu.be/T-QI8daAqYM