Primary node becomes secondary before application is deployed and moved into AAG
You can only add a database to an AG from the Primary node.  Your options are to back and restore the database to the new primary, or fail back over to SQL06 to make it the primary, then add it to the AG.