Gen I: Just like with many things relating to Gen I, if you look at them from afar the Gen I Fossil Pokemon are a strange batch.
The two families most people immediately think of are both Rock/Water and based on early ocean life; ammonites and combination of early arthropods (trilobites, horseshoe crabs, and eurypterids/sea scorpions). Odd pick for the first Fossil Pokemon, which you'd think any game developer would immediately go to dinosaurs. BUT, thinking about it, there is some logic to these picks. First off, this is a world filled with monsters, many of them dinosaur-shaped, so there was no need for the Fossils to fill that niche. Instead, the Gen I Fossil Pokemon were used for a bit of world building, what better way to make people think about the origin of Pokemon than having Pokemon based on the animals from the Cambrian era where live on Earth really began to expand? In addition a shelled squid and domed crab are pretty unique animals, especially when you give them an evolution with emphasizes & exaggerates these traits (there also feels like there's a secondary theme with Omastar and Kabutops, like an armor theme?). As for both being Rock/Water, even in Gen I the Omanyte family were Special focused (meaning its better with Water Moves) while Kabuto family was Physical (better with Rock Moves), so in a way they were sort of "version counterparts" except you got to pick which one you got.
Of course we did have a "dinosaur" Gen I Fossil, sorta: Aerodactyl, based on pterosaurs (taxonomically technically not dinosaurs but often mixed in the general public umbrella term version; also Aero' does have a bit of theropod in its design). So, why have Aerodactyl as the "exception"? Honestly, I think its just rule of cool; while we have a few Pokemon that are bulky lizards and dragons they didn't have any which were pterosaurs so that niche was open. And considering you had to go out of your way to get Aerodactyl while the other two had one handed to you during the story, it felt like a neat bonus for those who decided to go back to Pewter City after getting the Cut HM from the SS Anne (it also gave Lance another strong "dragon-like" Pokemon to be on his team).
Gen III: I think the decision to have Fossil Pokemon in Gen III was partly due to the GB-GBA Lockout. Ruby & Sapphire were sorta treated like a revamp of the franchise as a lot of the coding was reworked and there was no backwards compatability with the GB games. Gen III was when "gen counterparts" really became a thing as they were trying to replicate the experience of the GB games but with new Pokemon; hence every gen having an easily identifiable "Gen Bird", "Gen Bug", "Gen Rodent/Normal-type", Pikaclone, etc.. Fossil Pokemon were part of this, so once again they decided to go with early ocean life animals. But this time they decided to make them more diverse, not only having different Typing but gameplay roles. The Lileep family were defensive Rock/Grass crinoids (yes, yes, they're not plants but GF decided to be literal with their "sea lilly" nickname; also Cradily has some predatory turnicate traits) and the Anorith family were physical offense Rock/Bug anomalocaris (Armaldo mixing in some dinosaur traits). In addition, to further emphasize Gen III being the more "advance" generation, while the Gen I Fossil Pokemon used one or two dull-toned colors, the Gen III Fossil Pokemon were vibrantly colored each having at least three or four colors a part of their design. Now if there's an additional theme to them I don't know, they don't quite fit with that gen's "Land vs Sea" theme without (stretching it at least).
Gen IV: Now this is where secondary theming for Fossil Pokemon start becoming more apparent, and we also start using dinosaurs. I think we partially owe the existance of the Cranidos and Shieldon families to the trainers who they are the ace of, the Gym Leaders Roark and Byron. Roark and Byron are son and father and both a miners with what they mine relating to their Type; Rock Speciliast Roark mines coal and Steel Specialist Byron mines ores. This is because Sinnoh is based on Hokkaido which is known for its mining, notably of coal. Well guess what, mines are a pretty good place to find fossils, so they decided to make the signature Pokemon of these two Fossil Pokemon. So, why finally do dinosaurs, and of all of of them a pachycephalosaurus (mainly found in North America) and large head-crested ceratopsian? Probably already knowing Byron was going to be defense-focused, they decided to then make Roark offense-focused, and that led to the secondary theme: the Unstoppable Force Vs Immovable Object Paradox (also known as the Spear & Shield Paradox,
based off the origin of the Chinese word for "contradiction". If Byron was the shield, thus Roark the spear, and they wanted them to have Fossil Pokemon as aces, they'd need a prehistoric animal who they can mold into a "spear" and "shield". I imagine a large head-crested ceratopsian was an obvious pick for the shield, and the pachycephalosaurus hypothesized (though now possibly false) behavior of headbutting with their spiked dome heads fit their need for a "spear" without being too on-the-nose.
Gen V: Second franchise revamp, this time not because of technical limits but GF wanting to go global with the Pokemon World and base Regions on places outside of Japan. This got us Unova which is based on New York, and since that meant Unova was all the way on the otherside of the planet from the Japanese-based regions, one of the gimmicks of Gen V was all new Pokemon for the main story. Because of this, "Gen counterparts" really hit Unova hard; not only having counterparts to the usual suspects but also spiritual counterparts to com mons but with a twist (electric zebra instead of fire horse, gears instead of magnets, geodes forming faces instead of rocks with limbs, etc.). So, GF saw this another opportunity for Fossil Pokemon, but also do something a little different. Instead of ancient ocean life or dinosaurs, with Unova's whole thing being "new" they decided to do prehistoric animals which were seen as the "first" of two modern day species, settling on birds and sea turtles (while land turtles came first, the specific extinct sea turtles the Tirtouga family are based on were all found in the USA). And in terms of deciding what prehistoric animal they chose I think that's the main thought that went into it. What they then chose to do with each Pokemon was seperate, with maybe a side thought that they can make the Tirtouga family defensive Water-types and thus Archen family offensive Flying-types.
Gen VI: Gen VI was the jump to 3D, and with it Pokemon went from sprites with a few frames of animations to models with smooth movement & textures. I'm not sure if this is one of the main factors which led them doing another duo of Fossil Pokemon, but whatever was the initial idea the secondary theme cemented their creation: giving them a king and queen aesthetic, fitting for a region based on France which was famous for its royalty (and doing away with it). And if you're going to make any dinosaur king, it had to be the Tyranossaurus Rex (which are North American). While Tyrunt was faily simple, Tyrantrum they added plenty of extra detials to, taking advantage of models able to show such details compared to sprites. However when it comes to 3D display, the queen dinosaur takes the award as they based the Amaura family on the Amargasaurus (which are South American), sauropods with has spikes along their back which some argue were support for a sail-like structure. They probably went through several design phases which got them to making the Amaura Ice-types with ice crystals the sails being made of auroras; which in turn looked like jewellery and veils on a hennin.
Gen VIII: Ugh, finally we get to the Galarian Fossil Pokemon. There's no guessing here, the major inspiration for them are the dinosaur statues in the Crystal Palace, old and off-model depictions of dinosaurs. Not just that, this likely led them down the rabbit hole of early paleontology, which was frought with people trying to be the first to discover (and most importantly, name) new dinosaurs and other prehistoric animals, many times resulting in shoddy research. Famously there was the "Bone Wars" where one paleotologist placed the head of a species of plesiosaur on the end of its short tail instead of its long neck. GF decided they too wanted to have fun with mixing-and-matching prehistoric animals but in
hilarious ways. I'm sure there's a reason why the specifically picked the four prehstoric animals that they did, which seems to be a raptor, dunkleosteus, possibly a stegosaurus, and some finned aquatic animal; probably for what Types they can assign them.