File Coloring matches for a lot more then just file type.
Some of the files probably matches some rule and some some other.
The color of the first matching rule will be used and it will go from top to bottom of the rules listed in the "File Coloring Rules Editor"