Court documents are shedding light on what led up to a 2023 mass shooting at the Zephyr Point Apartments.