The manifestation of secondary bias on the galaxy population from IllustrisTNG300