Not sure about cutting knits but with my handwoven fabric I always zigzag right inside where I want the edges to be before cutting to make sure it doesn’t unravel.
Look up ”steeking” for how to secure the edges before you cut. Generally the fabric will not ”want” to unravel sideways, but all bets are off if the yarn is slippery or if you cut a horisontal cut without securing it first…