Depending on the magnification level in illustrator, the letters are not equal in height. First screenshot is zoomed, smaller one it's 100% https://fonts.google.com/specimen/Raleway I tried with both versions of the font (variable/classic) - they look the same. Everything looks fine in photoshop.
Newest illustrator and osx, clean system. Dual 27 thunderbolt display. Illustrator interface scaled to minimum (default?)
Really an Illustrator question. Moving to the Illustrator community! - MOD.