Regarding ghost Anakin having the Tatooine robes, Anakin was from Tatooine so many people have made the argument that it is representing that, not the Jedi uniform.
I prefer to believe that Anakin modelled his spectral form after Ben’s in an effort to make his appearance as benign and comforting to Luke as possible. A militaristic black uniform may’ve been a tad off-putting.