Civilian aircraft have flashing lights based on manufacturer design preference. As others have stated, aircraft like Boeing and Airbus have different patterns.
However, military aircraft can often select the pattern they want to use. This helps military pilots identify key tactical aircraft during night operations, such as the tanker flying around the carrier. It is definitely not coincidental that you noticed military aircraft with a unique pattern, although I'm truly shocked at your attention to detail.