Why is this BJT Schmitt trigger producing a sine wave?
Kilo-ohms and over 100 MHz!  You cannot get anything rectangular looking due the time constants caused by the parasitic capacitances, which can easily be 10 pF or more.