Unmanned aerial vehicles (UAVs) offer a new approach to wireless communication, leveraging their high mobility, flexibility, and visual communication capabilities. Ambient backscatter communication enables Internet of Things devices to transmit data by reflecting and modulating ambient radio waves, eliminating the need for additional wireless channels, and reducing energy consumption and cost for sensors. However, passive ambient backscatter communication has limitations such as limited range and poor communication quality. By utilizing UAVs as communication nodes, these limitations can be overcome, expanding the communication range and improving the quality of communication. Although some research has been conducted on combining UAVs and ambient backscatter, several challenges remain. One key challenge is the strong direct link interference in ambient backscatter under UAV conditions, which significantly affects communication quality. In this paper, we propose an intelligent backward and forward straight link interference cancellation algorithm based on NOMA decoding technique to enhance ambient backscatter communication quality under UAV conditions and extract more ambient energy for UAV energy supply. The paper includes theoretical derivation, algorithm description, and simulation analysis to validate the error bit rate of labeled information bits. The results demonstrate that the forward algorithm reduces the error bit rate by approximately 20% under low signal-to-noise ratio (SNR) conditions, while the backward algorithm reduces the error bit rate under high SNR conditions. The combination of the forward and backward algorithms reduces the error bit rate under both high and low SNR conditions. The proposed method contributes to improving the quality of ambient backscatter communication in UAV settings.