Discrete time sine wave generation near nyquist
There's nothing wrong about this – it's absolutely what you should be seeing.
The sine wave is intact, if you applied a reconstruction filter – there's no amplitude fluctuation of the wave, as soon as you limit its bandwidth to the nyquist bandwidth, the analog signal &quot;has&quot; to follow the full sines.