The 5th generation jet design philosophy prioritizes maximum stealth, evident in features like internal weapons bays and stealth geometry, albeit at the expense of some aerodynamic compromises.
Internal weapon bays are just as important for aerodynamics(like supercruise) - fighter bays didn't appear on 5th generation, they were a thing before.
Aerodynamic compromise here is a fuller form(more volume, at the expense of fuel), which may or may not be very bulky, depending on the way it's done. It's mostly an efficiency problem, and is mostly solvable(can be compensated) simply through a better engine.
In contrast, 4th generation jets were designed for increased payload and maneuverability.
While 4th generation jets were indeed made for maneuverability (it's a broad term, there are so much to it - hornet isn't exactly a king of supersonic maneuvering, for example) - first of all, "true" 4th gens (not 4.5) were made before aerodynamic studies of 1980s (basically taking full use of computer design and flight control) could be applied.
And many of those were done later and were done by nations without sufficient experience for it.
The main aerodynamic (from maneuverability pow) sacrifice of stealth is a relative demise of delta canard(which is the most straightforward way to get maximum out of an unstable fbw aircraft), but it never meant that canard aircraft are the only way to do so.
Examine these images of Tejas where the wings seamlessly integrate with the fuselage.
?
Your photos show that Tejas is a high-wing aircraft.