These green elements are masked elements from the artboard that was next to the one where they were showing. The artboard had clipping on but somehow these masked elements were still showing up on the artboard that they would overlap if clipping was off.
Today I opened another project and also noticed a green line around a rectangular mask that I have on all the artboards. Is this some feature to highlight masked objects that I accidentally activated or a bug?