We assume that aquafaba chocolate mousse gets grainy when the aquafaba foam is added to the melted chocolate while it is still too hot. Make sure to let it cool down for at least 10 minutes to prevent this from happening.