There are both TA assistantships and research assistantships. As a graduate student researcher, your stipend "responsibilities" include research output.
Note though that an RA is research of behalf of a faculty member. Your RA and compensation for it is for assisting with that research. It is not for conducting your own research even if you dovetail it it to a larger research/lab project. In fact, you almost certainly need to pay for the use of the lab and project data via authorship (sometimes first authorship).
I'm not debating that this is fair. Going back to my original post though I'm just calling out that the total compensation package for phd candidates far exceeds their take home pay.