Were the endgame tablebases made just for 'endgame studies' or people doing such?
I would have thought they were made for various reasons including reasons far beyond those two reasons.
There's the relevance of the word 'solved'.
In most 7-piece positions in chess - castling would be irreversibly illegal.
The great majority of such positions - far over 99% of them
But that doesn't mean one can then make a valid claim that 7-piece is 'solved'.
Disqualifying castling rights immediately 'taints' the project.
The availability of castling in a position - makes it unique and different from positions where its not available.
Apparently the reason they could have 'en passant' still factored in but not castling - is that the en passant option doesn't persist.
It lasts one ply deep.
But with castling - anytime you have either (or both) King on its original square along with either of its rooks (or both) on its original square then the analysis has to change even if its temporarily illegal because of blocking pieces or checks or in check or the K-traverse square in check.
What everyone appears to miss is that castling in tablebases only figures prominently in endgame studies. You cannot consult them during a game and if you were to study them as part of your endgame preparation you wouldn't care about castling rights. The pay-off is simply too low.
Now the fun thing is that the effect of the castling right is mainly visible in connection with the 50-move rule. Castling right may speed up the mating process by a few moves which makes a difference when a 50-move draw is in sight. However, in endgame studies the 50-move rule does not exist which makes the whole discussion academic. Much ado about nothin!
Though, .... well I won't tell you because it's retro and retro guys always make trouble