Yes, it’s an adaptation issue. The muscle isn’t actually shortened or lengthened as much as its tolerance to each position changes based on your movement patterns.
I deal with this as an endurance athlete and work quite a bit on strength training to avoid certain shortening adaptations. Especially on my bike.