Illustrator Pixel export

Hi!
I couldn't figure out why. I was exporting for high resolution png/jpg img and after I export the img, the straight lines of the image don't have any pixels while the curve lines do, I don't know what I've been doing wrong.
I did this on Adobe Illustrator and I tried rasterizing it, ticking off the anti-alias, and changing the ppi to a much higher ppi (3000) as well as the artboard size for 1-pixel error, changing it to type/art optimized but it is still the same for curve lines.
as you can see in the image above the curve lines has pixels and straight lines doesn't. Is this normal for curves to have pixels even if exported at a higher resolution?
