The influence of growth temperature on the crystalline quality and optical properties of AlGaN at 325 nm, grown using plasma-assisted molecular beam epitaxy (MBE), was investigated. The growth temperature exhibited a significant impact on the growth mode and surface morphology. Specifically, at a growth temperature of 750 degrees Celsius, when appropriate Al and Ga flow rates were employed, the AlGaN layer exhibited exceptional surface morphology and favorable optical properties. The optical properties of the AlGaN material were explored, revealing the presence of two distinct non-radiative recombination centers characterized by different activation energies. The minority carrier lifetimes were measured as 560 ps at 10 K and 64 ps at room temperature. The underlying mechanism was analyzed from the perspective of carrier dynamics, shedding light on the observed phenomena.